package com.zygh.lz.controller.pc;

import com.alibaba.fastjson.JSONObject;
import com.zygh.lz.entity.EquipageType;
import com.zygh.lz.entity.dto.PostDeployDTO;
import com.zygh.lz.entity.query.LongFengSignQuery;
import com.zygh.lz.entity.query.PostDeployCoordinateQuery;
import com.zygh.lz.entity.query.PostDeployQuery;
import com.zygh.lz.entity.vo.EquipageDetailVO;
import com.zygh.lz.entity.vo.PostDeployVO;
import com.zygh.lz.entity.vo.XareaVO;
import com.zygh.lz.service.EquipageTypeService;
import com.zygh.lz.service.PostDeployService;
import com.zygh.lz.service.SignEquipageService;
import com.zygh.lz.service.TrafficPoliceDutyOverviewService;
import com.zygh.lz.service.impl.LongFengService;
import com.zygh.lz.stapprove.ResultUtil;
import com.zygh.lz.util.DateUtils;
import com.zygh.lz.vo.ResultBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.List;

/**
 * @program: zygh-transform
 * @description: 交警勤务概况
 * @author: jhaol
 * @created: 2023/04/07 15:01
 */

@Slf4j
@Api(tags = "交警勤务概况")
@RestController
@RequestMapping("/trafficPoliceDutyOverview")
public class TrafficPoliceDutyOverviewController {

    @Resource
    private TrafficPoliceDutyOverviewService trafficPoliceDutyOverviewService;

    @ApiOperation("获取交警勤务概况")
    @GetMapping("/")
    public ResultBean getTrafficPoliceDutyOverview(HttpServletRequest request) {
        return trafficPoliceDutyOverviewService.getTrafficPoliceDutyOverview(request);
    }
}
